package org.infosys.org.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.infosys.org.domain.Shop;
import org.infosys.basic.mapper.BaseMapper;
import org.infosys.org.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hank
 * @since 2022-07-01
 */
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {

    /** 统计每个状态的店铺数量 */
    List<ShopVo> loadShopEcharsData();

    /** 导入 */
    void batchSave(List<Shop> shops);
}
